﻿using System;
namespace ecdl.demo.model {
    public interface ITask {
        string Text { get; set; }

        ITaskEvaluation Evaluate();

        int MaxPoints { get; }

        bool CanSubmit { get; }

        /// <summary>
        /// called whenever this task becomes active
        /// </summary>
        void Activate();

        void InitializePreconditions();

    }
}
